import Vue from 'vue/dist/vue.min.js';
import VueResource from 'vue-resource';
Vue.use(VueResource);

// mint ui
import 'mint-ui/lib/style.css';
import 'mint-ui/lib/mint-ui.common.js';
import { Header, Swipe, SwipeItem } from 'mint-ui';

// mui
import './lib/mui-master/dist/css/mui.css';
import './lib/mui-master/dist/fonts/mui.ttf';
import './lib/mui-master/dist/fonts/font_966576_5yf0lo27o65/iconfont.ttf';

// my own components
import app from './app.vue';
import router from './router.js';
import comment from './components/content/comment.vue';

// my own css
import './base.css';

// mint ui
Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

Vue.component('comment', comment);

new Vue({
	el: '#app',
	render: c => c(app),
	router
});
